<?php
namespace osc\mobile\model;

use think\Model;
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/3/14
 * Time: 16:25
 */
class Area extends Model
{

    /**
     * 新增数据返回id
     * @param $data
     * @return int|string
     */
    public function instAreaId($data){

        $id = $this->insertGetId($data);

        return $id;
    }
}